package com.novax.ex.activity.infrastructure.mapper;
import java.util.List;

import com.novax.ex.activity.infrastructure.entity.IeoRule;
import com.novax.ex.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 活动规则Mapper
 * @Author Cody
 * @Date 2022/12/05/10:39
 */
 

public interface IeoRuleMapper extends BaseMapper {

    /**
     * 黄涛
     * 选择通过ieo id
     *
     * @param ieoId ieo id
     * @return {@link IeoRule}
     */
    List<IeoRule> selectByIeoId(@Param("ieoId") Long ieoId);

    IeoRule selectByIeoIdAndLanguage(@Param("ieoId") Long ieoId, @Param("language") String language);

}